package com.moonshineproject.plugin.console.view
{
	import mx.skins.ProgrammaticSkin;

	public class HDividerSkin extends ProgrammaticSkin
	{
		public function HDividerSkin()
		{
			super();
		}
		
		override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
		{
			super.updateDisplayList(unscaledWidth, unscaledHeight);
			/*
			graphics.beginFill(0x0, 1);
			graphics.drawRect(0, 0, width, height);
			graphics.endFill();
			*/
			
			graphics.lineStyle(1, 0x2d2d2d);
			graphics.moveTo(0, 0);
			graphics.lineTo(width, 0);
			
			graphics.lineStyle(1, 0x5a5a5a);
			graphics.moveTo(0, 1);
			graphics.lineTo(width, 1);
		}
		
	}
}